<?php


namespace app\index\model;


use think\Model;

class UserModel extends Model
{
    public $table = "user";

     public function add($data)
     {
         return $this->json(["info"])->save($data);
     }
}